/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package ctrl.sys;

import java.io.Serializable;
import java.net.Socket;
import java.util.ArrayList;
import ctrl.jeu.Carte;
import ctrl.jeu.Distribution;
import ctrl.jeu.Mise;
import ctrl.jeu.Place;

/**
 *
 * @author Willy
 */
public class Reponse implements Serializable{
    private ArrayList<Mise> mises;
    private ArrayList<Place> places;
    private boolean obs;
    private Distribution d;
    private boolean Parcours=false;
    private Place Actif; // place qui sera la prochaine parcourue
    private static ArrayList<Socket> Client=new ArrayList<Socket>();
    private Carte[] Flop= new Carte[3];
    private Carte Tournant;
    private Carte Riviere;
    private boolean FinTour=false;
    private String texte;
    // constructeur
    public Reponse()
    {
        places=new ArrayList<Place>();
        mises=new ArrayList<Mise>();
    }

    public String getTexte() {
        return texte;
    }

    public void setTexte(String texte) {
        this.texte = texte;
    }

    
    public boolean isFinTour() {
        return FinTour;
    }

    public void setFinTour(boolean FinTour) {
        this.FinTour = FinTour;
    }

    
    public Distribution getD() {
        return d;
    }

    public void setD(Distribution d) {
        this.d = d;
    }

    public ArrayList<Mise> getMises() {
        return mises;
    }

    public void setMises(ArrayList<Mise> mises) {
        this.mises = mises;
    }

    public ArrayList<Place> getPlaces() {
        return places;
    }

    public void setPlaces(ArrayList<Place> places) {
        this.places = places;
    }
    
    public static ArrayList<Socket> getClient() {
        return Client;
    }

    public boolean getObs() {
        return obs;
    }

    public void setObs(boolean obs) {
        this.obs = obs;
    }

    public boolean isParcours() {
        return Parcours;
    }

    public void setParcours(boolean Parcours) {
        this.Parcours = Parcours;
    }

    public Place getActif() {
        return Actif;
    }

    public void setActif(Place Actif) {
        this.Actif = Actif;
    }

    public Carte[] getFlop() {
        return Flop;
    }

    public void setFlop(Carte[] Flop) {
        this.Flop = Flop;
    }

    public Carte getRiviere() {
        return Riviere;
    }

    public void setRiviere(Carte Riviere) {
        this.Riviere = Riviere;
    }

    public Carte getTournant() {
        return Tournant;
    }

    public void setTournant(Carte Tournant) {
        this.Tournant = Tournant;
    }


    
    // main
    public static void main(String[] args)
    {

    }

    @Override
    public String toString() {
        return "[places]:"+this.getPlaces();
    }


}
